﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using ThereAreNoIrreplaceblePeople.Models;

namespace ThereAreNoIrreplaceblePeople.Models
{
    public class SearchViewModel
    {

        public SearchViewModel()
        {
            Database1Entities3 db = new Database1Entities3();
            Subjects = db.Subject.ToList();
            Users = new List<User>();
            Date = DateTime.Now;
        }

        public List<Subject> Subjects { get; set; }
        public String SelectedSubject { get; set; }
        public DateTime Date { get; set; }
        public List<User> Users { get; set; }
        public int Hours { get; set; }
        
    }
}